from likeshop.base.mybase import Tools


# 获取一条地址详情
class o_address_detail_model(Tools):
    # 定义登录路径
    path = "/page/user_address/lists"

    # 发送登录请求
    def o_address_detail_action(self, di_id, db):
        mydata = {
            'id': di_id
        }
        res = self.session.get(url=self.hosturl+self.path, params=mydata, headers=db)
        return res.json()


